package kr.moiba.commonCd.service;

import java.util.List;
import java.util.Map;

import kr.moiba.commonCd.domain.CommonCd;

/**
 * @author Lee Youngho
 *
 */
public interface CommonCdSvc {

public List<CommonCd> findbyListHeader(Map<String, Object> condition) throws Exception;
	
	public Map<String, Object> findbyListPagingHeader(Map<String, Object> condition) throws Exception;
	
	public CommonCd findbyHeader(Integer idx) throws Exception;
	
	public CommonCd addHeader(CommonCd commonCd) throws Exception;
	
	public CommonCd modifyHeader(CommonCd commonCd) throws Exception;
	
	public int removeHeader(Map<String, Object> condition) throws Exception;
	
	public List<CommonCd> findbyListData(Map<String, Object> condition) throws Exception;
	
	public Map<String, Object> findbyListPagingData(Map<String, Object> condition) throws Exception;
	
	public CommonCd findbyData(Integer idx) throws Exception;
	
	public CommonCd addData(CommonCd commonCd) throws Exception;
	
	public CommonCd modifyData(CommonCd commonCd) throws Exception;
	
	public int removeData(Map<String, Object> condition) throws Exception;
	
	public String findbyChkDupl(Map<String, Object> condition) throws Exception;

}